<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>JSON回调</title>
    <script>
        function call_json(jsoncall){
            alert("网站名称："+jsoncall.name + "\n URL：" + jsoncall.site);
        } 
    </script>
</head>
<body>
    <script src="http://127.0.0.1/data.js"></script>
    <script src="http://127.0.0.1/test.php"></script>
</body>
</html>